
<h2 align="center">Edit User</h2>


<form class="form-horizontal" method="POST" action="<?php echo URL; ?>user/editSave">
    <div class="control-group">
        <label class="control-label">Username</label>
        <div class="controls">
            <input type="text" name="username" id="username" placeholder="username" value="<?php echo $this->user['username']; ?>"/>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" >Password</label>
        <div class="controls">
            <input type="password" name="password" id="password" placeholder="Password"/>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">Role</label>
        <div class="controls">
            <select name="role">
                <option value="User">User</option>
                <option value="Admin">Admin</option>
            </select>   
        </div>
    </div>
    <div class="form-actions">
        <input class="btn btn-success" type="submit" name="submit" value="simpan"/>
    </div>
</form>